﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Asion.Dapper
{
    /// <summary>
    ///批量保存
    /// </summary>
    public class BatchSaveRequest<TEntity>
    {


        /// <summary>
        /// 实体
        /// </summary>
        public List<TEntity> Entity { get; set; }


        /// <summary>
        /// 更新列
        /// </summary>
        public List<string> UpdateColmuns { get; set; }



        /// <summary>
        /// 更新指定字段条件
        /// </summary>
        public string UpdateColmunsWhere { get; set; }


        /// <summary>
        /// 更新总条件
        /// </summary>
        public IWhere UpdateWhere { get; set; }


        /// <summary>
        /// 添加排除项
        /// </summary>
        public List<string> InsertExclude { get; set; }

    }
}
